package com.zimbra.app.soap;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD, ElementType.TYPE })
public @interface Element {
    String name()      default "";
    String ns()        default "";
    Type   type()      default Type.ELEMENT;
    boolean optional() default true;
    boolean samenode() default false;
    String  ignore()   default "";
}
